package com.qx.service;

import com.qx.service.SaloService;
import com.qx.mapper.SaloMapper;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qx.pojo.Salo;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SaloServiceImpl extends ServiceImpl<SaloMapper, Salo> implements SaloService {

    @Resource
    private SaloMapper saloMapper;

    @Override
    public List<Salo> getSalo() {
        return saloMapper.selectList(null);
    }

    @Override
    public List<Salo> selectByUid(int i) {
        return saloMapper.setByUid(i);
    }
}
